package GUI;

/**
 * A blank manager main that contains all it's panels.
 * @author Benny
 *
 */
public class LibraryManagerMainScreen {	
		
	  public MainFrame mf;
	  public ReportsGUI reports;
	  public CardManagingGUI cardManaging;
	  public ActivityReportGUI activityGUI;
	  public RegBookBorrowReportGUI regBorrowGUI;
	  /**
		  * Create the manager main screen panel. 	  
		  * @param M Instance of the main Frame of the program 
		  */
	 public LibraryManagerMainScreen(MainFrame M){
		 
		 
		 this.mf=M;
		 reports= new ReportsGUI(M);
		 reports.setBounds(0, 0, 620, 580);
		 mf.getContentPane().add(reports);
		 
		 cardManaging= new CardManagingGUI(M);
		 cardManaging.setBounds(0, 0, 620, 580);
		 mf.getContentPane().add(cardManaging);
		 
		 activityGUI= new ActivityReportGUI(M);
		 activityGUI.setBounds(0, 0, 620, 580);
		 mf.getContentPane().add(activityGUI);
		 
		 regBorrowGUI= new RegBookBorrowReportGUI(M);
		 regBorrowGUI.setBounds(0, 0, 620, 580);
		 mf.getContentPane().add(regBorrowGUI);
	
		 reports.setVisible(false);
		 cardManaging.setVisible(false);
		 activityGUI.setVisible(false);
		 regBorrowGUI.setVisible(false);
		 } 
	}
